﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Twodi.Structs
{
    /// <summary>
    /// Define um sprite de um componente.
    /// </summary>
    public class Sprite
    {
        /// <summary>
        /// Construtor padrão.
        /// </summary>
        /// <param name="name">Nome do sprite.</param>
        public Sprite(String name)
        {
            Name = name;
        }

        /// <summary>
        /// Construtor padrão.
        /// </summary>
        /// <param name="name">Nome do sprite.</param>
        /// <param name="rectangle">Definição do sprite.</param>
        public Sprite(String name, Rectangle rectangle)
        {
            Name = name;
            Rectangle = rectangle;
        }

        /// <summary>
        /// Nome do sprite.
        /// </summary>
        public String Name
        {
            get;
            set;
        }

        /// <summary>
        /// Definição do sprite.
        /// </summary>
        public Rectangle Rectangle
        {
            get;
            set;
        }

    }
}
